#include"linear.h"

int main ()
{
	HashTable *ht = NULL;
	KeyType arr[] = {16, 74, 60, 43, 54, 90, 46, 31, 29, 88, 77};
	
	ht_init(&ht, 13, 13);
	ht_create(ht, arr, 11);
	ht_print(ht);

	int k = 16;
	ht_search(ht, k);

	k = 60;
	if (ht_delete(ht, k)){
		printf("delete successfully\n");
		ht_print(ht);
	} else {
		printf("delete failure\n");
	}

	ASL(ht);
	ht_destroy(ht);
	return 0;
}
